define(['jquery','swiper','utils', 'zui'],function ($,swiper,utils) {
  function Index() {

  }

  Index.prototype = {
    init () {
      new $.zui.Messager('zui弹窗。', {
        icon: 'heart',
        placement: 'center'
      }).show();
    },

    //初始化 swiper 轮播图
    newSwiper () {
      // new swiper ('.swiper-container', {
      //   direction: 'horizontal',
      //   loop: true,
      //   autoplay: true,
      //   pagination: {
      //     el: '.swiper-pagination',
      //     clickable :true,
      //   }
      // });
    },

  }

  return new Index();
})